projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba2b02
)
don't you hate it when you apply the wrong patch and discover it only
author
George Lebl
<jirka@src.gnome.org>
Mon, 3 Aug 1998 06:22:41 +0000
(06:22 +0000)
committer
George Lebl
<jirka@src.gnome.org>
Mon, 3 Aug 1998 06:22:41 +0000
(06:22 +0000)
after applying it and committing
-George
gtk/gtkclist.c
patch
|
blob
|
history
diff --git
a/gtk/gtkclist.c
b/gtk/gtkclist.c
index ac25959755723c6feebbd33052ef15ef5515a8fb..ae7d8914402e351b561791b0db493a714662857d 100644
(file)
--- a/
gtk/gtkclist.c
+++ b/
gtk/gtkclist.c
@@
-2521,6
+2521,7
@@
gtk_clist_draw (GtkWidget * widget,
{
GtkCList *clist;
gint border_width;
+ GdkRectangle child_area;
int i;
g_return_if_fail (widget != NULL);
@@
-2552,7
+2553,8
@@
gtk_clist_draw (GtkWidget * widget,
for (i = 0; i < clist->columns; i++)
{
- gtk_widget_queue_draw (clist->column[i].button);
+ if (gtk_widget_intersect (clist->column[i].button, area, &child_area))
+ gtk_widget_draw (clist->column[i].button, &child_area);
}
}
}